package com.atguigu.spring5.textdemo.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration//作为配置类
@ComponentScan(basePackages = {"com.atguigu" })
public class SpringConfig {
public static void main(String[] args) {
    System.out.println("新功能");
    System.out.println("新功能2");

}
}
